package com.ruige.goreka.service;

import com.ruige.goreka.config.VersionConfig;
import com.ruige.goreka.pojo.Service;

import java.util.List;

public interface GorekaService {

    List<Service> findAll();

    void deleteAll();

    void add(Service service);

    Service findByServiceName(String serviceName);

    void update(Service service);

    void updateStatusByServiceName(Service service);

    void delete(Service service);

    VersionConfig getVersion();


}
